<ion-view view-title="" cache-view="false">
    <ion-nav-buttons side="left">
        <back-button></back-button>
    </ion-nav-buttons>
    <ion-content>
        <ion-refresher pulling-text={{PULLING_TEXT}} pulling-icon="" refreshing-text={{REFRESHING_TEXT}}
                       on-refresh="doRefresh()"></ion-refresher>

        <div class="kProfit">
            <input type="checkbox" class="kEyeMoney" ng-model="param.show" ng-change="changeShow()">
            <dl>
                <dt>我的资产（元）</dt>
                <dd>{{param.show? ( param.total |defNumber:2) : '****'}}</dd>
            </dl>
        </div>
        <div class="kProfitItem kQuota kCells" split="true">
            <ul class="clearfix tac">
                <li><p>账户余额(元)</p><em ng-class="{inc : param.enable_balance>0,inc_ : param.enable_balance<0}">{{param.show? (param.enable_balance|defNumber:2) : '****'}}</em></li>
                <li><p>理财产品(元)</p><em ng-class="{inc : param.total_invest>0,inc_ : param.total_invest<0}">{{param.show? (param.total_invest |defNumber:2) :'****'}}</em></li>
                <li><p>股票市值(元)</p><em ng-class="{inc : param.market_values>0,inc_ : param.market_values<0}">{{param.show? (param.market_values|defNumber:2) : '****'}}</em></li>
                <li><p ng-if="!param.xdb" data-tip="未开通">质押借款(元)</p>
                    <p ng-if="param.xdb">质押借款(元)</p>
                    <em ng-class="{inc : param.repayment_amount>0,inc_ : param.repayment_amount<0}">{{param.show? (param.repayment_amount|defNumber:2) : '****'}}</em>
                </li>
            </ul>
        </div>
        <div class="kRemind">
            注：股票持仓请在“交易”页查看，下拉页面可刷新股票市值与资产
        </div>

        <div class="kFastNav clearfix" split="true">
            <a href="#/tab/account-shares"><img src="">理财持仓</a>
            <a href="#/tab/account-orders"><img src="">理财记录</a>
            <a ng-if="param.show_recharge" ng-click="goRechargeAndWithdraw()" ><img src="">银证转账</a>
        </div>

        <div class="kCells">
            <a ng-href="#/tab/account-index" class="kCell">
                <img class="icon" src="">
                <div class="kCellPrimary"><p>{{user.client_name}}<em>客户号：{{user.client_id}}</em></p></div>
                <!--<div class="kCellExtra"><i>5</i></div>-->
            </a>
        </div>


    </ion-content>
</ion-view>